<?php

return array(
    'phone' => '/^(1(([389][0-9])|(4[5,7])|(5[^4])|(66)|(7[03678])))\d{8}$/',
    'email' => '/^[\w-]+(\.[\w-]+)*@[\w-]+(\.[\w-]+)+$/',
    'telephone' => '/^(0\d{2,3})?-?([2-9]\d{6,7})(-\d{1,5})?$/',
    'hot_line' => '/^(400|800)-(\d{3})-(\d{4})?$/',
    'qq' => '/^[1-9]\d{4,9}$/',
    'account' => '/^[a-zA-Z][a-zA-Z0-9_]{4,17}$/',
    'md5' => '/^[a-f0-9]{32}$/',
    'password' => '/^(.){6,18}$/',
    'money' => '/^[0-9]+([.][0-9]{1,2})?$/',
    'number' => '/^[-+]?[0-9]*\.?[0-9]*$/',
    'numeric' => '/^\d+$/',
    'alpha' => '/^[A-Za-z]+$/',
    'alpha_numeric' => '/^[A-Za-z0-9]+$/',
    'alpha_numeric_dash' => '/^[A-Za-z0-9_]+$/',
    'captcha' => '/^[a-z0-9]{4,5}$/',
    'message_code' => '/^[1-9]\d{3,5}$/',
    'trade_no' => '/^\d{18}$/',
    'card_no' => '/^[6,8]\d{11}$/',
    'coupon_code' => '/^[123]\d{9}$/',
    'url' => '/^http(s?):\/\/([\w-]+\.)+[\w-]+(\/[\w\- .\/?%&=]*)?/',
    'cid' => '/^\d{15}$|^\d{17}(\d|X|x)$/',
    'address' => '/^(.){0,196}$/',
    'int' => '/^[-+]?\d+$/',
    'float' => '/^[-+]?\d+(\.\d+)?$/',
    'chinese' => '/^[\x{4e00}-\x{9fa5}]+$/u',
    'chinese_name' => '/^[\x{4e00}-\x{9fa5}]{2,5}$/u',
    'name' => '/^[\x{4e00}-\x{9fa5}A-Za-z0-9_]+$/u',
    'file_name' => '/^[^\/:?*"<|>\\]+$/',
    'id' => '/^[1-9][0-9]{0,9}$/',
    'uuid' => '/^[a-f0-9]{8}(-[a-f0-9]{4}){3}-[a-f0-9]{12}$/i',
    'image' => '/<img\s.*?\ssrc=[\'"]?(.*?)[\'"]?\s.*?>/i',
    'business_license' => '/^([0-9A-HJ-NPQRTUWXY]{2}\d{6}[0-9A-HJ-NPQRTUWXY]{10}|[1-9]\d{14})$/',
);